
public class MessageOrdre extends Message {

    private String intitule;
    private int idProcessDepart;
    private int idProcessFin;
    private int dateDepart;
    private int dateFin;

    public MessageOrdre() {
    }

    public MessageOrdre(String _intitule, int _idProcessDepart, int _idProcessFin, int _dateDepart, int _dateFin) {
        this.intitule = _intitule;
        this.idProcessDepart = _idProcessDepart;
        this.idProcessFin = _idProcessFin;
        this.dateDepart = _dateDepart;
        this.dateFin = _dateFin;
    }

    public String getIntitule() {
        return this.intitule;
    }

    public int getIdProcessDepart() {
        return this.idProcessDepart;
    }

    public int getIdProcessFin() {
        return this.idProcessFin;
    }

    public int getDateDepart() {
        return this.dateDepart;
    }

    public int getDateFin() {
        return this.dateFin;
    }

    public String toString() {
        return "ORDRE : " + this.intitule + " PD=" + this.idProcessDepart + " PF=" + this.idProcessFin + " DD=" + this.dateDepart + " DF=" + this.dateFin;
    }
}
